package com.zhbcm.cassso.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2021/6/9 20:10
 */
@Controller
public class ViewController
{
    @GetMapping("/login")
    public String view()
    {
        return "login.html";
    }

    @GetMapping("/")
    public String view2()
    {
        return "welcome.html";
    }
}
